package com.wangx1n.boobey.dao;

import com.wangx1n.boobey.entity.Suggestion;
import com.wangx1n.boobey.entity.SuggestionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
@author wangxin
@create 2020-06-12 23:44
*/
public interface SuggestionMapper {
    long countByExample(SuggestionExample example);

    int deleteByExample(SuggestionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Suggestion record);

    int insertSelective(Suggestion record);

    List<Suggestion> selectByExample(SuggestionExample example);

    Suggestion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Suggestion record, @Param("example") SuggestionExample example);

    int updateByExample(@Param("record") Suggestion record, @Param("example") SuggestionExample example);

    int updateByPrimaryKeySelective(Suggestion record);

    int updateByPrimaryKey(Suggestion record);
}